package org.itboys.core.entity.mongo;

import lombok.Data;
import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * @Author：贾琦磊
 * @Date：2018/11/27
 * @Description：银行卡
 */
@Data
@Entity(value = "SundayAccount", noClassnameStored = true)
public class SundayAccount extends BaseMongoEntity{
    private Long memberId;
    private Integer bankType;//银行类型   根据广告配置为bank的副标题来定
    private String realName;//用户真实姓名
    private String mobile;//手机号
    private String number;//银行账号，或者微信支付宝账号

    public SundayAccount() {
    }

    public SundayAccount(Long memberId, Integer bankType, String realName, String mobile, String number) {
        this.memberId = memberId;
        this.bankType = bankType;
        this.realName = realName;
        this.mobile = mobile;
        this.number = number;
    }
}
